builder: Consistently use builder_construct
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Sep 2021 16:57:47 +0000 (12:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Sep 2021 21:46:24 +0000 (17:46 -0400)
It seems odd to use this helper in one place,
but not the other.

gtk/gtkbuilderparser.c

index 0e614ccdacb28e61fdaab45d8a3ceed18421f726..c5b4039781f26dee2552eb1adce9e983fe0f90c1 100644 (file)
@@ -1713,9 +1713,7 @@ parse_custom (GtkBuildableParseContext  *context,
       ObjectInfo* object_info = (ObjectInfo*)parent_info;
       if (!object_info->object)
         {
-          object_info->object = _gtk_builder_construct (data->builder,
-                                                        object_info,
-                                                        error);
+          object_info->object = builder_construct (data, object_info, error);
           if (!object_info->object)
             return TRUE; /* A GError is already set */
         }